﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewAll.ascx.cs" Inherits="Team4Mock.UserControl.Support.ViewAll" %>
<fieldset style="width: 760px;">
    <legend style="height: 25px; background-color: #465c71; -webkit-border-radius: 5px 5px 0px 0px;
        color: #dde4ec;font-size:18px;">Directorate Maintenance</legend>
        <h3>Current List Support Material</h3>
        <asp:CheckBox runat="server" ID="ckisactive" Text="Include In-active?"/>
        <asp:GridView ID="gvDirectorate" AutoGenerateColumns="False" DataKeyNames="ID" runat="server"
                    Width="709px" Font-Size="15px" BackColor="White" BorderColor="#CCCCCC" AllowSorting="true"
                    BorderStyle="None" BorderWidth="1px" CellPadding="3">
                    <Columns>
                        <asp:TemplateField HeaderText="ID" Visible="false">
                            <ItemTemplate>
                                <asp:Label ID="lbID" runat="server" Text='<%#Eval("SupportMaterialID") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="URL">
                            <ItemTemplate>
                                <asp:HyperLink ID="url" runat="server" Text='<%#Eval("URL") %>'></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Description">
                            <ItemTemplate>
                                <asp:Label ID="Des" runat="server" Text='<%#Eval("Description") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Type">
                            <ItemTemplate>
                                <asp:Label ID="Type" runat="server" Text='<%#Eval("SupMatType") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Added Date">
                            <ItemTemplate>
                                <asp:Label ID="Adddate" runat="server" Text='<%#Eval("AddredDate") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Is Active">
                            <ItemTemplate>
                                <asp:Label ID="isactive" runat="server" Text='<%#Eval("IsActive") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <RowStyle ForeColor="#000066" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
                <asp:Button runat="server" ID="Add" CssClass="button" Text="Create"/>
</fieldset>